{template 'header', 'mobile'}
<style type="text/css">
footer {padding-bottom: 4.25rem;}
.botLogin {border-bottom: 1px solid #e3e3e3;height: 3.444rem;font-size: 1.111rem;}
.botLogin a {color: #4c4c4c;padding: 0 1.185rem;line-height: 3.444rem;text-decoration: none;}
.botLogin span {color: #ccc;font-size: 0.8889rem;}
.botBox {text-align: center;overflow: hidden;padding-bottom: 0.5rem;line-height: 2.222rem;padding-top: 0.7407rem;}
.botBox p {color: #ccc;line-height: 1.333rem;padding-bottom: 0.4rem;}
.botBox span {color: #d9d9d9;font-size: 0.7407rem;display: inline-block;}


.home-head em{font-style: normal;float: left;margin: 6px 0px 0 0px;}

.jpBox {overflow: hidden;}
.jpTitle {height: 2.22rem;font-size: 36px;background: #fff;padding-top: 0.7407rem;margin-top: 0.7407rem;}
.jpTitle h3 {margin: 0 0 0.7407rem 0;height: 1.481rem;line-height: 1.481rem;border-left: 0.2963rem solid #06a7ff;font-size: 1.333rem;padding-left: 1.037rem;font-weight: normal;float: left;}
.jpTitle a {float: right;margin-right: 0.7407rem;font-size: 0.8889rem;line-height: 1.484rem;color: #999;text-decoration: none;}
.proList {overflow: hidden;width: 100%;}
ul {margin: 0;padding: 0;}
.jpBox ul.proList li:nth-child(odd), .FreeBox ul.proList li:nth-child(odd) {float: left;}
.jpBox ul.proList li, .FreeBox ul.proList li {width: 49%;background: #fff;padding-bottom: 0.7407rem;height: 18.89rem;margin-top: 0.4%;overflow: hidden;}
ul li {margin: 0;padding: 0;list-style: none;}
.jpBox ul.proList li .jpImgBox, .FreeBox ul.proList li .jpImgBox {width: 13.56rem;height: 13.56rem;margin: 0 auto;}
.jpImgBox a {display: table-cell;height: 13.56rem;width: 13.56rem;text-align: center;vertical-align: middle;}
.jpBox ul.proList li .jpImgBox img, .FreeBox ul.proList li .jpImgBox img {max-height: 13.56rem;max-width: 13.56rem;}
.jpImgBox a img {vertical-align: middle;}
.jpBox ul.proList li p.jpName, .FreeBox ul.proList li p.jpName {color: #444;font-size: 1.037rem;padding: 0.3704rem 0.7407rem;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;line-height: 1.481rem;height: 2.563rem;}
h1, h2, h3, p {margin: 0;font-weight: normal;}
.jpBox ul.proList li p.jpPrice, .FreeBox ul.proList li p.jpPrice {font-size: 1.259rem;color: #ff7b04;padding: 0.3704rem 0.7407rem;}
.jpBox ul.proList li:nth-child(even), .FreeBox ul.proList li:nth-child(even) {float: right;}

.home-head {height:103px;{if $background}background:#007AFF url('{$background}') no-repeat;{else}background: url('static/img/home-background.png') no-repeat;background-size: cover;{/if}}
.home-head img {float:left;border:#FFFFFF 2px solid;border-radius:50%;margin:10px 10px 0 10px;}
.home-head ul {float:left;margin:16px 0 0 0;}
.home-head li {height:26px;line-height:26px;color:#FFFFFF;text-shadow:0 1px 1px #FAFAFA;}
.home-head strong {font-size:22px;font-weight:normal;}
.home-quick {    margin: 0;padding: 0;height: 3.593rem;border: 1px solid #d5d5d5;border-right: none;border-left: none;background: #fff;}
.home-quick li {height: 3.593rem;line-height: 3.593rem;text-align: center;width: 25%;margin-left: -1px;border-left: 1px solid #d5d5d5;float: left;font-size: 1.111rem;color: #444;}
.home-quick img {width:46px;margin:0 0 6px 0;}
.home-quick span {    color: #444;text-decoration: none;display: block;height: 100%;width: 100%;text-align: center;}
</style>
<div id="head-bar">
<div class="head-bar">
<div class="head-bar-back">
<a href="javascript:Dback('index.php?moduleid={$moduleid}', '{$DT_REF}', '{$username}');" data-direction="reverse"><img src="static/img/icon-back.png" width="24" height="24"/><span>返回</span></a>
</div>
<div class="head-bar-title">公司主页</div>
<div class="head-bar-right">
<a href="javascript:Dsheet('<a href=&#34;{mobileurl($moduleid)}&#34; data-direction=&#34;reverse&#34;><span>{$MOD[name]}首页</span></a>|<a href=&#34;channel.php&#34; data-direction=&#34;reverse&#34;><span>频道列表</span></a>', '取消');"><img src="static/img/icon-action.png" width="24" height="24"/></a>
</div>
</div>
<div class="head-bar-fix"></div>
</div>
<div class="home-head">
{if $logo}<img src="{$logo}" width="60" height="60"/>{/if}
<ul>
<li><strong>{$COM[company]}</strong></li>
<li>{if $COM[vip]}{VIP}{$COM[vip]} 第{$COM[year]}年{else}普通会员{/if}</li>
<li><em>店铺等级：</em>{if $COM[vip]}
<img src="http://localhost/destoon/mobile/static/img/vip/vip{$COM[vip]}.png"/>
{/if}</li>
</ul>
</div>
<div class="home-quick">
	<ul>
		<li><a href="{$HURL}&action=introduce"><span>{$_MENU[introduce]}</span></a></li>
		<li><a href="{$HURL}&action=sell"><span>{$_MENU[sell]}</span></a></li>
		<li><a href="{$HURL}&action=news"><span>{$_MENU[news]}</span></a></li>
		<li><a href="{$HURL}&action=contact"><span>{$_MENU[contact]}</span></a></li>
		
	</ul>
</div>


<article class="jpBox">
    	<div class="jpTitle">
        	<h3>产品推荐</h3>
            <a href="{$HURL}&action=sell">更多</a>        </div>
        <ul class="proList">
<!--{php $tags=tag("moduleid=5&condition=status=3 and level>0&areaid=$cityid&pagesize=6&order=addtime desc&template=null")}-->

			{loop $tags $i $v}

                	<li>
            	<div class="jpImgBox">
                	<a href="{$v[linkurl]}">
                	                	<img src="{if $v[thumb]}{$v[thumb]}{else}static/img/nopic-60.png{/if}">                	                	</a>                </div>
                <p class="jpName"><a href="{$v[linkurl]}">{$v[title]}</a></p>
                <p class="jpPrice">&yen;{$v[price]}</p>
            </li>
			{/loop}
                </ul>
    </article>
                <article class="jpBox">
    	<div class="jpTitle">
        	<h3>最新发布</h3>
            <a href="{$HURL}&action=nall">更多</a>
        </div>
        <ul class="proList">

<!--{php $tags=tag("moduleid=5&condition=status=3 and thumb<>''&areaid=$cityid&pagesize=6&order=addtime desc&template=null");}-->
			{loop $tags $i $v}

                	<li>
            	<div class="jpImgBox">
                	<a href="{$v[linkurl]}">
                	                	<img src="{if $v[thumb]}{$v[thumb]}{else}static/img/nopic-60.png{/if}">
               	  </a>
                </div>
                <p class="jpName"><a href="{$v[linkurl]}">{$v[title]}</a></p>
                <p class="jpPrice">&yen;{$v[price]}</p>
            </li>
			{/loop}
                	
        </ul>
    </article>
	
	
	
<footer>

<section>
	<div class="botLogin">
    	<a href="/mobile/login.php" rel="nofollow">登录</a>
        <span>|</span>
    	<a href="/mobile/register.php" rel="nofollow">注册</a>
    	
    </div>
    <div class="botBox">
    	<p>
    	<a href="{$HURL}&action=introduce">{$_MENU[introduce]}</a>
        <span>|</span>
    	<a href="{$HURL}&action=introduce">{$_MENU[honor]}</a>
        <span>|</span>
    	<a href="{$HURL}&action=contact">{$_MENU[contact]}</a>
        </p>
        <p>

        <a href="/mobile/">触屏版</a>
        <span>|</span>
        <a href="mobile.php?action=pc">电脑版</a>

        </p>
        <p>&copy;{timetodate($DT_TIME, 'Y')} {$COM[company]} 版权所有</p>
    </div>
</section>
</footer>
